package com.licq.appserver.service;

import com.licq.appserver.entity.UserBean;
import com.licq.appserver.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserService {
    @Autowired
    UserMapper userMapper;
    public List<UserBean> queryById(int id){
        return userMapper.queryById(id);
    }

}
